package com.ruoyi.asms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.asms.domain.AsmsFaultResolveStage;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

/**
 * 故障处理阶段信息Mapper接口
 * 
 * @author yfkj
 * @date 2021-10-21
 */@Mapper
public interface AsmsFaultResolveStageMapper extends BaseMapper<AsmsFaultResolveStage>
{
    /**
     * 查询故障处理阶段信息
     * 
     * @param faultResolveStageId 故障处理阶段信息主键
     * @return 故障处理阶段信息
     */
    public AsmsFaultResolveStage selectAsmsFaultResolveStageByFaultResolveStageId(Long faultResolveStageId);

    /**
     * 查询故障处理阶段信息列表
     * 
     * @param asmsFaultResolveStage 故障处理阶段信息
     * @return 故障处理阶段信息集合
     */
    public List<AsmsFaultResolveStage> selectAsmsFaultResolveStageList(AsmsFaultResolveStage asmsFaultResolveStage);

    /**
     * 新增故障处理阶段信息
     * 
     * @param asmsFaultResolveStage 故障处理阶段信息
     * @return 结果
     */
    public int insertAsmsFaultResolveStage(AsmsFaultResolveStage asmsFaultResolveStage);

    /**
     * 修改故障处理阶段信息
     * 
     * @param asmsFaultResolveStage 故障处理阶段信息
     * @return 结果
     */
    public int updateAsmsFaultResolveStage(AsmsFaultResolveStage asmsFaultResolveStage);

    /**
     * 删除故障处理阶段信息
     * 
     * @param faultResolveStageId 故障处理阶段信息主键
     * @return 结果
     */
    public int deleteAsmsFaultResolveStageByFaultResolveStageId(Long faultResolveStageId);

    /**
     * 批量删除故障处理阶段信息
     * 
     * @param faultResolveStageIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAsmsFaultResolveStageByFaultResolveStageIds(Long[] faultResolveStageIds);


    public List<AsmsFaultResolveStage> selectFaultResolveStageByFaultIds(Long[] faultIds);
}
